home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- set the member of sprite the clickOn to member("volume down dn")
- updateStage()
- vStartTime = the timer
- vLevel = the soundLevel
- if vLevel > 0 then
- vLevel = vLevel - 1
- set the member of sprite 22 to member("vol" && vLevel)
- updateStage()
- end if
- repeat while the stillDown
- if (vStartTime + 60) < the timer then
- repeat while the stillDown
- vStartTime2 = the timer
- if vLevel > 0 then
- vLevel = vLevel - 1
- set the member of sprite 22 to member("vol" && vLevel)
- updateStage()
- end if
- repeat while the timer < (vStartTime2 + (0.25 * 60))
- nothing()
- end repeat
- end repeat
- end if
- end repeat
- set the soundLevel to vLevel
- puppetSound("volume beep")
- set the member of sprite the clickOn to member("volume down up")
- updateStage()
- end
-
- on mouseEnter
- set the member of sprite 23 to member("vol down prompt")
- updateStage()
- end
-
- on mouseLeave
- set the member of sprite 23 to member("blank prompt")
- updateStage()
- end
-